Array Traversal

In PHP it's easy to get JSON decoded by $data = json_decode($input). But many newcomers are confused by how to pick individual information from the resulting array or object structure then. This visualization is intended to help.

Hover with the mouse over entries or keys to see the required array or object traversal syntax:

$data

The print_r parsing failed.

It's only an approximation, and 100% correctly transforming it back into an array is near impossible. Check that it was indeed in print_r format, not var_dump, or xdebug output. Otherwise gimme the original JSON data blob.